<?php /** @noinspection PhpMissingParamTypeInspection */
/** @noinspection PhpMissingFieldTypeInspection */

/** @noinspection PhpPropertyOnlyWrittenInspection */

namespace Dreamcat\Class2Array\DemoClass;

use DreamCat\Array2Class\Annotation\ObjectAttribute;

/**
 * 测试用的父类
 * @author vijay
 */
class ParentClass
{
    /** @var mixed */
    #[ObjectAttribute("cf1")]
    private $field1;
    /** @var mixed */
    private $sharePrivate;
    /** @var mixed */
    public $sharePublic;

    /**
     * ParentClass constructor.
     * @param mixed $field1 赋值给$field1
     * @param mixed $v2 赋值给$sharePrivate
     * @param mixed $v3 赋值给$sharePublic
     */
    public function __construct($field1, $v2, $v3)
    {
        $this->field1 = $field1;
        $this->sharePrivate = $v2;
        $this->sharePublic = $v3;
    }
}

# end of file
